#!/bin/bash

echo "演示一下basename的用法"

echo "演示一下dirname的用法"

#计算两个参数的和
sum=0
function getSum(){
	sum=$[$1+$2];
	return sum;
}
echo "两个参数的和为:$sum"



